home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
others
/
amimacro.zip
/
PSYLITPG.SMM
< prev
next >
Wrap
INI File
|
1992-08-26
|
7KB
|
479 lines
[ver]
4
[sty]
~macro.sty
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
CITIZEN Dot Matrix
[port]
LPT1:
[lang]
1
[desc]
PSYCHLIT.SMM Purge and Total only.
714839475
21
698364731
811
2
0
0
0
0
0
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[l1]
0
[pg]
2
60 0 53 0 0 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
104 0 10 1025 80 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
@Function@<:ZPsychlLitImport>FUNCTION PsychLitProcess()<:Z~PsychlLitImport>
<:#216,10800>Darkmode(1)
<:#216,10800>Hourglass(1)
<:#216,10800>Onerror endit
<:#216,10800>Oncancel endit
<:#216,10800>t=0
<:#216,10800>u=0
<:#216,10800>w=0
<:#216,10800>ab=0
<:#216,10800>n=0
<:#216,10800>Dim Usednum(100)
<:#216,10800>Dim Abstract(900)
<:#216,10800>Dim Words(100)
<:#216,10800>Dim Used(900)
<:#216,10800>Dim terms(100)
@Function@<:#216,10800>Purge:
<:#216,10800>ans=Decide("Do You Want to Purge and Total the Records?")
<:#216,10800>If ans=0
<:#216,10800> goto endit
<:#216,10800>Endif
<:#216,10800>check=Decide("Do You Want to Check for Reoccuring Abstracts?")
<:#216,10800>Replace(0,0,5,"TI","")
<:#216,10800>Type("<[>Home]<[>up]")
<:#216,10800>PurgeLoop:
<:#216,10800> msg=ab+1
<:#216,10800> StatusBarMsg("Processing Record {msg}")
<:#216,10800> Type("<[>SHIFTEnd]<[>Del]")
<:#216,10800> Type("<[>F6] {msg} of abtotal")
<:#216,10800> found=Replace(0,0,5,"AN","")
<:#216,10800> If found<<<;>1
<:#216,10800> goto total
<:#216,10800> Endif
<:#216,10800> Type("<[>End]<[>CTRLSHIFTLeft]")
<:#216,10800> Second=CurShade$()
<:#216,10800> Type("<[>CTRLLeft]<[>CTRLSHIFTLeft]")
<:#216,10800> First=CurShade$()
<:#216,10800> abnum=strcat$(first,second)
<:#216,10800> If check=1
<:#216,10800> For a = 1 to ab
<:#216,10800> If abnum=used(a)
<:#216,10800> StatusBarMsg("Deleting Extra Copy of {abnum}")
<:#216,10800> Type("<[>CTRLPGDN]" )
<:#216,10800> Type("<[>CTRLSHIFTPGUp]")
<:#216,10800> Type("<[>Del]")
<:#216,10800> Goto purgeloop
<:#216,10800> Endif
<:#216,10800> Next
<:#216,10800> Endif
<:#216,10800> ab=ab+1
<:#216,10800> Used(ab)=abnum
<:#216,10800> Abstract(ab)=strcat$(first,"-",second," = #{ab}")
<:#216,10800> Type("<[>Down]")
<:#216,10800> If curword$()="Abstracts"
<:#216,10800> goto total
<:#216,10800> Endif
<:#216,10800>goto PurgeLoop
@Function@<:#216,10800>Total:
<:#216,10800>Replace(0,0,9221,"abtotal",ab)
<:#216,10800>StatusBarMsg("Creating The Index.")
<:#216,10800>found=Replace(0,0,5,"Abstracts in File by Number","")
<:#216,10800>If found=1
<:#216,10800> Type("<[>home]<[>CTRLShiftEnd]<[>Del]")
<:#216,10800>Else Type("<[>CTRLEnd]")
<:#216,10800>Endif
<:#216,10800>Type("<[>F6]Abstracts in File by Number<[>enter]<[>F2]")
<:#216,10800>Underline()
<:#216,10800>ArraySort(&Abstract)
<:#216,10800>rows=round(ab/4)
<:#216,10800>hold=mod(ab,"4")
<:#216,10800>If hold=1
<:#216,10800> rows=rows+1
<:#216,10800>Elseif hold=2
<:#216,10800> rows=rows+1
<:#216,10800>Endif
<:#216,10800>For c = 1 to rows
<:#216,10800> col=1
<:#216,10800> ab=c
<:#216,10800> RowLoop:
<:#216,10800> abnum=abstract(ab)
<:#216,10800> Type("{abnum}")
<:#216,10800> If col=4
<:#216,10800> Type("<[>enter]")
<:#216,10800> goto loopbreak
<:#216,10800> Endif
<:#216,10800> Type("<[>tab]")
<:#216,10800> col=col+1
<:#216,10800> ab=ab+rows
<:#216,10800> goto rowloop
<:#216,10800> LoopBreak:
<:#216,10800>Next
@Function@Endit:
<:#216,10800>Darkmode(0)
<:#216,10800>HourGlass(0)
<:#216,10800>StatusbarMsg("")
@Function@<:#216,10800>END FUNCTION
<:#216,10800>
@Function@<:#216,10800>DIALOG Box2
<:#216,10800>FONT 8 "Helv"
<:#216,10800>-2134376448 4 97 43 142 94 "" "" "PsychLit Import"
<:#216,10800>8 8 72 16 1000 1342177280 "static" "Select Terms To Make Italic:" 0
<:#216,10800>9 25 72 67 9500 1344471041 "combobox" "" 0
<:#216,10800>90 8 40 14 1 1342373889 "button" "OK" 0
<:#216,10800>90 32 40 14 2 1342373888 "button" "Cancel" 0
@Function@<:#216,10800>END DIALOG
>
[Embedded]
00004386
>
[macsum] 2
PsychLitProcess 0 0 23 0
Box2 1882 0 -1 96
[macse]
14 PsychLitProcess
0 292 1
0 296 1
20 00001842
19 00001842
5 0
8 1
5 0
8 2
5 0
8 3
5 0
8 4
5 0
8 5
5 100
21 6 [X]
5 900
21 7 [X]
5 100
21 8 [X]
5 900
21 9 [X]
5 100
21 10 [X]
0 2 "Do You Want to Purge and Total the Records?"
13
8 11
6 11
5 0
18 0
11 00000304
10 00001842
0 2 "Do You Want to Check for Reoccuring Abstracts?"
13
8 12
2 488 1 0 0 5 "TI" ""
0 6 "[36][38]"
6 4
5 1
3 0
8 13
0 789 "Processing Record {13}"
0 6 "[4131][46]"
0 6 "[117] {13} of abtotal"
2 488 1 0 0 5 "AN" ""
13
8 14
6 14
5 1
18 1
11 00000583
10 00001115
0 6 "[35][20517]"
0 24
13
8 15
0 6 "[16421][20517]"
0 24
13
8 16
0 16 "{16}" "{15}"
13
8 17
6 12
5 1
18 0
11 00000947
5 1
8 18
6 4
6 18
18 2
12 00000805
10 00000947
5 1
6 18
3 0
8 18
10 00000727
6 17
6 18
22 9
18 0
11 00000934
0 789 "Deleting Extra Copy of {17}"
0 6 "[16418]"
0 6 "[20513]"
0 6 "[46]"
10 00000407
10 00000770
6 4
5 1
3 0
8 4
6 4
6 17
23 9
6 4
0 16 "{16}" "-" "{15}" " = #{4}"
13
23 7
0 6 "[40]"
0 23
13
7 "Abstracts"
18 0
11 00001102
10 00001115
10 00000407
2 488 1 0 0 9221 "abtotal" "{4}"
0 789 "Creating The Index."
2 488 1 0 0 5 "Abstracts in File by Number" ""
13
8 14
6 14
5 1
18 0
11 00001302
0 6 "[36][20515][46]"
10 00001317
0 6 "[16419]"
0 6 "[117]Abstracts in File by Number[13][113]"
2 256 1
0 1043 &7
6 4
5 4
4 1
0 786 [X]
13
8 19
0 788 "{4}" "4"
13
8 20
6 20
5 1
18 0
11 00001514
6 19
5 1
3 0
8 19
10 00001566
6 20
5 2
18 0
11 00001566
6 19
5 1
3 0
8 19
5 1
8 21
6 19
6 21
18 2
12 00001656
10 00001842
5 1
6 21
3 0
8 21
10 00001577
5 1
8 22
6 21
8 4
6 4
22 7
8 17
0 6 "{17}"
6 22
5 4
18 0
11 00001762
0 6 "[13]"
10 00001829
0 6 "[9]"
6 22
5 1
3 0
8 22
6 4
6 19
3 0
8 4
10 00001678
10 00001621
0 292 0
0 296 0
0 789 ""
6 0
15
9
DIALOG Box2
FONT 8 "Helv"
-2134376448 4 97 43 142 94 "" "" "PsychLit Import"
8 8 72 16 1000 1342177280 "static" "Select Terms To Make Italic:" 0
9 25 72 67 9500 1344471041 "combobox" "" 0
90 8 40 14 1 1342373889 "button" "OK" 0
90 32 40 14 2 1342373888 "button" "Cancel" 0
00004411